use alloc::sync::Arc;

use crate::sched::task::Task;

pub(super) const ARCH_NEED_RESCHED: u32 = 0;

#[repr(C)]
pub(crate) struct ThreadStruct;

impl ThreadStruct {
    pub(crate) const fn new() -> Self {
        ThreadStruct
    }
}

pub(crate) fn arch_switch_to(prev: &Task, _: Arc<Task>) -> &Task {
    prev
}
